<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="*|/"><xsl:apply-templates/></xsl:template>

<xsl:template match="text()|@*"><xsl:value-of select="."/></xsl:template>

<xsl:template match='nbsp' name='nbsp'>
<xsl:text disable-output-escaping='yes'>&amp;nbsp;</xsl:text>
</xsl:template>


<xsl:include href='../xsl.include.main.xsl'/>

<xsl:template match="row">

<xsl:choose>
	<xsl:when test="@picname">
	</xsl:when>
	<xsl:otherwise>
	</xsl:otherwise>
</xsl:choose>
<p/>
		<div class="bodyB" style="text-align:center;padding-bottom:10px;">Adesso devi scegliere la cornice che preferisci cliccandoci sopra!</div>

			<xsl:for-each select="frame">
		<div style="float:right;">
			<form method="POST">
			<input type="hidden" name="makeItPublic" value="1"></input>
			<input type="hidden" name="winner" value="{@name}"></input>
			<input type="hidden" name="enum" value="{@enum}"></input>
			<input type="hidden" name="photoname" value="{@picname}"></input>
			<input type="image" alt="Scegli questa cornice!" src="{@path}{@name}"/>
			!!<xsl:value-of select="@diff"/>!!
			<xsl:value-of select="@innerdiff"/>!!
			</form>
		</div>
			</xsl:for-each>

		<div class="bodyB" style="text-align:center;padding-bottom:10px;clear:left;clear:right;">
			Oppure cancella la foto e caricane un'altra!
			<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="">
			<input type="hidden" name="FORM_ID" value="DELETEPHOTOOPENING"></input>
			<input type="hidden" name="FILE2DELETE" value="{@openingsmall}"></input>
			<INPUT style="font-family:tahoma; font-size:7pt; color:black;" TYPE="SUBMIT" VALUE="Cancella la foto!"></INPUT>
			</FORM>
		</div>

</xsl:template>

</xsl:stylesheet>